package com.event.binlog.iface;

import com.event.common.model.BinglogAddEvent;
import com.event.common.model.BinglogDelEvent;
import com.event.common.model.BinglogUpdateEvent;

/**
 * binlog row事件句柄
 */
public interface IBinlogRowEventHandle {
    /**
     * 处理binlog row 新增事件
     * @param event
     */
    void handle(BinglogAddEvent event);

    /**
     * 处理binlog row 删除事件
     * @param event
     */
    void handle(BinglogDelEvent event);

    /**
     * 处理binlog row 更新事件
     * @param event
     */
    void handle(BinglogUpdateEvent event);
}
